// import { injectReducer } from 'REDUCER'
// import createContainer from 'UTIL/createContainer'
// const connectComponent = createContainer(
//   ({ userData, currentContent }) => ({ userData, currentContent }),
//   require('ACTION/article').default               // mapActionCreators
// )

export default {
  path: 'RentQuery',

  indexRoute: { 
    getComponent(nextState, callback) {
      require.ensure([], (require) => {
        // 立即注入 Reducer, 
        // injectReducer('currentContent', require('REDUCER/article').default);
        callback(null, require('VIEW/RentQuery').default)
      }, 'RentQuery')
    }, 
  },

  childRoutes: [
    {
      path: 'TouristPage',
      indexRoute: {
        component: require('VIEW/RentQuery/TouristPage').default
      }
    },
  ]
}

/*
  当前路由树如下
  |
  ├ /article
  ├ /article/detail/:aId
  ├ /article/modify/:aId
  ├ /article/add
  |
*/
